package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyCwJs;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyCwJsParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyCwJsResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 货赔酒水单价表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-11-22
 */
public interface BtyCwJsMapper extends BaseMapper<BtyCwJs> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2021-11-22
     */
    List<BtyCwJsResult> customList(@Param("paramCondition") BtyCwJsParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2021-11-22
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BtyCwJsParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2021-11-22
     */
    Page<BtyCwJsResult> customPageList(@Param("page") Page page, @Param("paramCondition") BtyCwJsParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2021-11-22
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BtyCwJsParam paramCondition);

    int count(BtyCwJs btyCwJs);

    List<Map> getJsList(@Param("date") String date);

    List<BtyCwJs> getCwjsList(@Param("date") String date);

    int countDh(BtyCwJs entity);

    List<Map> getHpList(String date);
}
